package com.cloudbroker.bcs.platform.ltb.middle.service.impl;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.middle.dao.credits.CreditsLogDAO;
import com.cloudbroker.bcs.platform.ltb.middle.entity.credits.CreditsLog;
import com.cloudbroker.bcs.platform.ltb.middle.service.CreditsLogService;
import com.cloudbroker.bcs.platform.ltb.middle.service.base.TenantServiceImplBase;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by lili19289 on 2016/10/26.
 */
@Service
public class CreditsLogServiceImpl extends TenantServiceImplBase implements CreditsLogService {


    @Resource
    private CreditsLogDAO creditsLogDAO;


    protected DAOBase getDAO() {
        return creditsLogDAO;
    }


    public List<CreditsLog> queryLogs(Map<String,Object> param){
        return creditsLogDAO.queryLogs(param);
    }



}
